<?xml version="1.0" encoding="UTF-8"?>
<div xmlns="http://www.w3.org/1999/xhtml" class="templates:surround?with=templates/page.html&amp;at=content">
    <!--<div id="table-holder"/>-->
    <div class="row">
        <div class="span10">
            <form action="api/create-good" method="post" class="form-horizontal">
                <legend>Добавление товара</legend>
                <fieldset>
                    <div class="row">
                        <div class="span5">
                            <div class="control-group">
                                <input type="text" placeholder="категория" name="category" required="true"/>
                            </div>
                            <div class="control-group">
                                <input type="text" placeholder="Инв. номер" name="cat-number" required="true"/>
                            </div>
                        </div>
                        <div class="span5">
                            <div class="control-group">
                                <div class="ui-widget">
                                    <input type="text" placeholder="модель автомобиля" name="car-model" required="true"/>
                                </div>
                            </div>
                            <div class="control-group">
                                <div class="input-append">
                                    <input type="text" placeholder="Цена" name="price" required="true"/>
                                    <span class="add-on">руб.</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="control-group span8">
                            <input type="text" placeholder="название" name="title" class="span8" required="true"/>
                        </div>
                    </div>
                    <div class="row">
                        <div class="span8">
                            <div class="control-group">
                                <!--<div class="controls">-->
                                <textarea rows="8" placeholder="Описание" name="description" style="width: 510px; height: 200px"/>
                                <script type="text/javascript">
                                    $('textarea[name=description]').wysihtml5();
                                </script>
                                <!--</div>-->
                            </div>
                        </div>
                        <!--<div class="fileupload fileupload-new span4" data-provides="fileupload">
                            <div class="fileupload-preview thumbnail" style="width: 200px; height: 150px;"></div>
                            <div>
                                <span class="btn btn-file"><span class="fileupload-new">Select image</span><span class="fileupload-exists">Change</span><input type="file" name="image"/></span>
                                <a href="#" class="btn fileupload-exists" data-dismiss="fileupload">Remove</a>
                            </div>
                        </div>-->
                    </div>
                    <div class="control-group">
                        <button class="btn">Создать</button>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>
</div>